package com.zhonghui.modlules.product.eshopVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(
        value = "YxSystemStoreQueryVo对象",
        description = "门店自提查询参数"
)
public class SystemStoreQueryVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("门店ID")
    private Integer id;
    @ApiModelProperty("门店名称")
    private String name;
    @ApiModelProperty("简介")
    private String introduction;
    @ApiModelProperty("手机号码")
    private String phone;
    @ApiModelProperty("省市区")
    private String address;
    @ApiModelProperty("详细地址")
    private String detailedAddress;
    @ApiModelProperty("门店logo")
    private String image;
    @ApiModelProperty("纬度")
    private String latitude;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("核销有效日期")
    private String validTime;
    private String latlng;
    @ApiModelProperty("每日营业开关时间")
    private String dayTime;
    @ApiModelProperty("距离")
    private String distance;

    public String getLatlng() {
        return this.latitude + "," + this.longitude;
    }

    public SystemStoreQueryVo() {
    }

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getIntroduction() {
        return this.introduction;
    }

    public String getPhone() {
        return this.phone;
    }

    public String getAddress() {
        return this.address;
    }

    public String getDetailedAddress() {
        return this.detailedAddress;
    }

    public String getImage() {
        return this.image;
    }

    public String getLatitude() {
        return this.latitude;
    }

    public String getLongitude() {
        return this.longitude;
    }

    public String getValidTime() {
        return this.validTime;
    }

    public String getDayTime() {
        return this.dayTime;
    }

    public String getDistance() {
        return this.distance;
    }

    public void setId(final Integer id) {
        this.id = id;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public void setIntroduction(final String introduction) {
        this.introduction = introduction;
    }

    public void setPhone(final String phone) {
        this.phone = phone;
    }

    public void setAddress(final String address) {
        this.address = address;
    }

    public void setDetailedAddress(final String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    public void setImage(final String image) {
        this.image = image;
    }

    public void setLatitude(final String latitude) {
        this.latitude = latitude;
    }

    public void setLongitude(final String longitude) {
        this.longitude = longitude;
    }

    public void setValidTime(final String validTime) {
        this.validTime = validTime;
    }

    public void setLatlng(final String latlng) {
        this.latlng = latlng;
    }

    public void setDayTime(final String dayTime) {
        this.dayTime = dayTime;
    }

    public void setDistance(final String distance) {
        this.distance = distance;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SystemStoreQueryVo)) {
            return false;
        } else {
            SystemStoreQueryVo other = (SystemStoreQueryVo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label167: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label167;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label167;
                    }

                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                label153: {
                    Object this$introduction = this.getIntroduction();
                    Object other$introduction = other.getIntroduction();
                    if (this$introduction == null) {
                        if (other$introduction == null) {
                            break label153;
                        }
                    } else if (this$introduction.equals(other$introduction)) {
                        break label153;
                    }

                    return false;
                }

                Object this$phone = this.getPhone();
                Object other$phone = other.getPhone();
                if (this$phone == null) {
                    if (other$phone != null) {
                        return false;
                    }
                } else if (!this$phone.equals(other$phone)) {
                    return false;
                }

                label139: {
                    Object this$address = this.getAddress();
                    Object other$address = other.getAddress();
                    if (this$address == null) {
                        if (other$address == null) {
                            break label139;
                        }
                    } else if (this$address.equals(other$address)) {
                        break label139;
                    }

                    return false;
                }

                Object this$detailedAddress = this.getDetailedAddress();
                Object other$detailedAddress = other.getDetailedAddress();
                if (this$detailedAddress == null) {
                    if (other$detailedAddress != null) {
                        return false;
                    }
                } else if (!this$detailedAddress.equals(other$detailedAddress)) {
                    return false;
                }

                label125: {
                    Object this$image = this.getImage();
                    Object other$image = other.getImage();
                    if (this$image == null) {
                        if (other$image == null) {
                            break label125;
                        }
                    } else if (this$image.equals(other$image)) {
                        break label125;
                    }

                    return false;
                }

                label118: {
                    Object this$latitude = this.getLatitude();
                    Object other$latitude = other.getLatitude();
                    if (this$latitude == null) {
                        if (other$latitude == null) {
                            break label118;
                        }
                    } else if (this$latitude.equals(other$latitude)) {
                        break label118;
                    }

                    return false;
                }

                Object this$longitude = this.getLongitude();
                Object other$longitude = other.getLongitude();
                if (this$longitude == null) {
                    if (other$longitude != null) {
                        return false;
                    }
                } else if (!this$longitude.equals(other$longitude)) {
                    return false;
                }

                label104: {
                    Object this$validTime = this.getValidTime();
                    Object other$validTime = other.getValidTime();
                    if (this$validTime == null) {
                        if (other$validTime == null) {
                            break label104;
                        }
                    } else if (this$validTime.equals(other$validTime)) {
                        break label104;
                    }

                    return false;
                }

                label97: {
                    Object this$latlng = this.getLatlng();
                    Object other$latlng = other.getLatlng();
                    if (this$latlng == null) {
                        if (other$latlng == null) {
                            break label97;
                        }
                    } else if (this$latlng.equals(other$latlng)) {
                        break label97;
                    }

                    return false;
                }

                Object this$dayTime = this.getDayTime();
                Object other$dayTime = other.getDayTime();
                if (this$dayTime == null) {
                    if (other$dayTime != null) {
                        return false;
                    }
                } else if (!this$dayTime.equals(other$dayTime)) {
                    return false;
                }

                Object this$distance = this.getDistance();
                Object other$distance = other.getDistance();
                if (this$distance == null) {
                    if (other$distance != null) {
                        return false;
                    }
                } else if (!this$distance.equals(other$distance)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SystemStoreQueryVo;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $introduction = this.getIntroduction();
        result = result * 59 + ($introduction == null ? 43 : $introduction.hashCode());
        Object $phone = this.getPhone();
        result = result * 59 + ($phone == null ? 43 : $phone.hashCode());
        Object $address = this.getAddress();
        result = result * 59 + ($address == null ? 43 : $address.hashCode());
        Object $detailedAddress = this.getDetailedAddress();
        result = result * 59 + ($detailedAddress == null ? 43 : $detailedAddress.hashCode());
        Object $image = this.getImage();
        result = result * 59 + ($image == null ? 43 : $image.hashCode());
        Object $latitude = this.getLatitude();
        result = result * 59 + ($latitude == null ? 43 : $latitude.hashCode());
        Object $longitude = this.getLongitude();
        result = result * 59 + ($longitude == null ? 43 : $longitude.hashCode());
        Object $validTime = this.getValidTime();
        result = result * 59 + ($validTime == null ? 43 : $validTime.hashCode());
        Object $latlng = this.getLatlng();
        result = result * 59 + ($latlng == null ? 43 : $latlng.hashCode());
        Object $dayTime = this.getDayTime();
        result = result * 59 + ($dayTime == null ? 43 : $dayTime.hashCode());
        Object $distance = this.getDistance();
        result = result * 59 + ($distance == null ? 43 : $distance.hashCode());
        return result;
    }

    public String toString() {
        return "SystemStoreQueryVo(id=" + this.getId() + ", name=" + this.getName() + ", introduction=" + this.getIntroduction() + ", phone=" + this.getPhone() + ", address=" + this.getAddress() + ", detailedAddress=" + this.getDetailedAddress() + ", image=" + this.getImage() + ", latitude=" + this.getLatitude() + ", longitude=" + this.getLongitude() + ", validTime=" + this.getValidTime() + ", latlng=" + this.getLatlng() + ", dayTime=" + this.getDayTime() + ", distance=" + this.getDistance() + ")";
    }
}

